<!-- 

-->

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <ul v-for='item in info'>
      <li>{{item}}</li>
    </ul>

    <hr>
    <ul v-for='(item, key, index) in info'>
      <li>{{key}}-{{item}}</li>
    </ul>

    <hr>
    <ul v-for='(item, index) in names'>
      <li>{{index}}-{{item}}</li>
    </ul>

    <hr>
    <ul v-for='(item, index) in names'>
      <li>{{index}}-{{item.name}}</li>
    </ul>

  </div>

  <script src="../../js/vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        info: {
          name: 'why',
          age: 18,
          height: 1.88
        },
        names: [
          {
            name: 'why',
            age: 18,
            height: 1.88
          },
          {
            name: 'srx',
            age: 10,
            height: 10
          },
        ]
      }
    })
  </script>
</body>
</html>